//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.live.base.domain.LiveExamObjectiveScore;
import com.ruoyi.live.base.domain.LiveExamObjectiveScoreDetail;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface LiveExamObjectiveScoreDetailMapper extends BaseMapper<LiveExamObjectiveScoreDetail> {
    @Select("SELECT  \n" +
            " s.*,p.*\n" +
            "  FROM   live_exam_objective_score_detail s left join live_product p\n" +
            "\ton s.product_id = p.id where s.score_id = ${obj.id}")
    List<LiveExamObjectiveScoreDetail> list(@Param("obj") LiveExamObjectiveScore liveExamObjectiveScore);
}
